package com.vhall.component.entity.room.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author rui.zhou
 * @date 2021/4/21 16:49
 */
@Data
@TableName("room_extends")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "RoomExtendsEntity对象", description = "房间扩展信息表")
public class RoomExtendsEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "房间id")
    @TableField("room_id")
    private String roomId;

    @ApiModelProperty(value = "用户自定义简介tag")
    @TableField("custom_tag")
    private String customTag;

    @ApiModelProperty(value = "开播时间")
    @TableField("start_time")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "结束时间")
    @TableField("end_time")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "开播类型1 web 2 app 3 sdk 4 推拉流 5 定时 6 admin后台 7第三方8 助手 ")
    @TableField("start_type")
    private Integer startType;

    @ApiModelProperty(value = "结束类型1 web 2 app 3 sdk 4 推拉流 5 定时 6 admin后台 7第三方8 助手 ")
    @TableField("end_type")
    private Integer endType;

    @ApiModelProperty(value = "是否删除>0|否,1|是 ")
    @TableField("is_delete")
    private Integer isDelete;

    @ApiModelProperty(value = "创建时间")
    @TableField("created_at")
    private LocalDateTime createdAt;

    @ApiModelProperty(value = "更新时间")
    @TableField("updated_at")
    private LocalDateTime updatedAt;

    @ApiModelProperty(value = "删除时间")
    @TableField("deleted_at")
    private LocalDateTime deletedAt;

}
